home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8045 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  968 b 

  1. Path: rahul.net!a2i!news
  2. From: terris@rahul.net (Terris Linenbach)
  3. Newsgroups: comp.lang.c++
  4. Subject: MSVC++ and STL: problems with DLLs
  5. Date: 13 Feb 1996 05:44:31 GMT
  6. Organization: a2i network
  7. Message-ID: <4fp8fv$6f8@hustle.rahul.net>
  8. NNTP-Posting-Host: 534.rahul.net
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=US-ASCII
  11. X-Newsreader: WinVN 0.99.6
  12.  
  13. We are having trouble passing sets, maps, or lists across DLL boundaries.
  14. For example, we cannot pass one of these objects from an
  15. EXE to a DLL.  The problem is the code crashes when we try to
  16. look at the object "from the other side".  Or, maybe it's
  17. when we try to modify it.  I forget which.
  18.  
  19. The DLL and EXE are using the "shared MFC DLLs".
  20.  
  21. The culprits are the "static" data members found in various
  22. STL classes.  Each EXE and DLL gets its own copy of these
  23. statics.  STL seems to fall all over itself because the
  24. statics aren't in sync.
  25.  
  26. It's pretty raw out there.  Has anyone tried this yet?
  27.  
  28. - Terris
  29.  
  30.